/*
 * @ : Copyright (c) 2021 Phytium Information Technology, Inc. 
 *  
 * SPDX-License-Identifier: Apache-2.0.
 * 
 * @Date: 2021-09-15 19:45:46
 * @LastEditTime: 2021-09-24 13:58:32
 * @Description:  This files is for 
 * 
 * @Modify History: 
 *  Ver   Who        Date         Changes
 * ----- ------     --------    --------------------------------------
 */
#include "parameters.h"
#include "f_sdio.h"
#include "f_sdio_hw.h"

const FSdioConfig sdio_cfg_tbl[FSDIO_HOST_INSTANCE_NUM] =
{
    [FSDIO_HOST_INSTANCE_0] = 
    {
        .instance_id = FSDIO_HOST_INSTANCE_0,
        .base_addr   = FSDIO_HOST_0_BASE_ADDR,
        .irq_num     = FSDIO_HOST_0_IRQ_NUM,
        .irq_priority = 0,
        .enable_irq  = TRUE,
        .irq_name    = "SDIO-0"
    },

    [FSDIO_HOST_INSTANCE_1] = 
    {
        .instance_id = FSDIO_HOST_INSTANCE_1,
        .base_addr   = FSDIO_HOST_1_BASE_ADDR,
        .irq_num     = FSDIO_HOST_1_IRQ_NUM,
        .irq_priority = 0,
        .enable_irq  = TRUE,
        .irq_name    = "SDIO-1"
    },
};